home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-02-21 | 551 b | 29 lines | [TEXT/RLAB] |
- type:
-
- Syntax: type ( A )
-
- Description:
-
- Type returns a string that describes the type of element
- contained in object A. The valid types for an object vary
- according to the class of the object:
-
- CLASS: num
- TYPES: real complex
-
- CLASS: string
- TYPES: string
-
- CLASS: list
- TYPES: (see note 1.)
-
- CLASS: function
- TYPES: user builtin
-
-
- Note 1.) If a list object has a string member with name
- "type", then the type function will report the contents of
- that member.
-
- See Also: class, show
-